0 POKE53281,9:POKE53280,3 1 PRINT"[147]"TAB(10)"***ANDROID NIM[146]***" 2 PRINTTAB(18)"BY":PRINTTAB(14)"DON DENNIS" 3 PRINTTAB(11)"TORONTO, CANADA":PRINTTAB(13)"JULY, 1979[153]" 5 REM 153 UNDERHILL DR 6 REM DON MILLS, CANADA 7 REM M3A 2K6 8 REM (416)445-3927 30 SF=64 31 CL$=" " 32 POKE54277,51:POKE54278,208:POKE54272,100:FS=54276:GS=54273 33 LN=214:CN=211:KB=198:VL=54296 35 DEF FNE(X)=(A(P)ORE)AND(NOT(A(P)ANDE)):IQ=.7 36 DIM B$(18) 38 : FORI=0TO17 39 : READB$(I) 40 : NEXTI 41 B$(18)="[157] [146][161][161] [157][157][157][157][157] [188][146][172]  [157][157][157][157][157] [188][146][190][172] [157][157][157][157][157] [146][161] [172][187][157][157][157][157][157] [146][161] [161][161][157][157][157][157][157]" 42 B$(18)=B$(18)+" [190][161][146][172] [157][157][157][157][157] [161][161] [157][157][157][157][157] [188][190][146][162] [157][157][157][157][157][145][145][145][145][145][145][145][146] [157][157][157][157][157] " 43 B$(18)=B$(18)+"[157][157][157][157][157] [157][157][157][157][157] [157][157][157][157][157] [157][157][157][157][157] [157][157][157][157][157] " 44 B$(18)=B$(18)+"[157][157][157][157][157] [145][153]" 50 DIM PX(17),PY(17),R(17),CM$(5),A(2),B(2) 60 FORI=0TO17 70 : READ PX(I),PY(I) 75 : R(I)=I 80 : NEXTI 105 DIM M$(15) 110 FORI=0TO15 115 : READ M$(I) 120 : NEXTI 121 FORI=0TO5 122 : READCM$(I) 123 : NEXTI 130 GOSUB2000 146 IQ=.9 150 RR=3:B(0)=10:B(1)=15:B(2)=18 155 Q$="DO YOU NEED INSTRUCTIONS?":GOSUB800 160 IFA$="N"GOTO200 165 Q$="WE ARE THE EXECUTIONERS.\ PICK ONE OF US (A B OR C)\ TO DESTROY AS MAN 166 Q$[178]Q$[170]"Y ANDROIDS\ FROM EACH ROW AS YOU WISH.\ THEN IT IS OUR TURN TO PLAY. 167 Q$=Q$+"\ THE ONE WHO GETS THE LAST DROID WINS.":GOSUB1500:FORJ=1TO500:NEXT 200 PRINT"[147]":GOSUB2000:FOR N=3TO17 205 : GOSUB1000 210 : R(N)=N 215 : NEXTN 220 RR=18:A(0)=7:A(1)=5:A(2)=3 225 TR=0:Q$="DO YOU WANT TO PLAY FIRST?":GOSUB800 228 M=0 230 IFA$="N"GOTO245 235 IFA$<>"Y"GOTO225 240 M=1-M 245 IFRR=3GOTO500 250 IFM=0GOTO400 255 TR=0:Q$="IT IS YOUR TURN.\ WHICH ROW?":GOSUB800 256 Z=1 260 P=ASC(A$)-65 265 IFP<0ORP>2THENGOSUB600:GOTO255 270 IFA(P)=0THENGOSUB650:GOTO255 275 TR=P:Q$="HOW MANY ANDROIDS?":GOSUB800 280 Z=ASC(A$)-48 285 IFZ<1ORZ>9THENGOSUB600:GOTO255 288 POKELN,PY(P):POKECN,PX(P):PRINT"[145][145]"Z 290 IFZ>A(P)THENGOSUB650:POKELN,PY(P):POKECN,PX(P):PRINT"[145][145] ":GOTO275 300 SL=25:GOSUB700 305 POKELN,PY(P):POKECN,PX(P):PRINT"[145][145] " 310 GOTO240 400 E=0:F=0 405 FORP=0TO2 410 : E=FNE(0):IFA(P)>FTHENF=A(P):I1=P 415 : NEXTP 420 FORP=0TO2 425 : R=FNE(0):IFR<=A(P)GOTO470 430 : NEXTP:STOP 470 IFR=A(P)ORIQ>RND(1)THENP=I1:R=A(P)-INT(RND(1)*(A(P)-1)+1) 475 TR=P:Z=A(P)-R:Q$="WE CHOOSE"+STR$(Z)+" ANDROID FROM ROW "+CHR$(P+65)+".\" 476 GOSUB1500 478 SL=5:GOSUB700 495 GOTO240 500 Q$=" WIN.\":IFM<>0THENQ$=" LOSE.\" 505 Q$="YOU"+Q$ 510 IFM=0THENQ$=Q$+" WE WILL PLAY BETTER NEXT TIME.\":IQ=IQ*IQ*IQ 515 TR=0:GOSUB1500 520 Q$="WOULD YOU LIKE ANOTHER GAME?":GOSUB800 525 IFA$<>"N"GOTO200 530 Q$="THANK YOU FOR PLAYING.\\":GOSUB1500:RUN 600 TR=0:R1=0:R2=0:R3=0:SL=17 605 M1$=M$(9):M2$=M$(10):M3$=M$(11) 610 GOSUB900 615 Q$="YOUR ANSWER DOES NOT MAKE SENSE.\" 616 IFZ=0THENQ$="CAN'T YOU MAKE UP YOUR MIND?\" 617 GOSUB1500 620 RETURN 650 R1=P:R2=P:R3=P:SL=25 655 M1$=M$(7):M2$=M$(8):M3$=M$(8) 660 GOSUB900 665 TR=P:Q$="SORRY, ONLY"+STR$(A(P))+" ANDROIDS LEFT.\" 670 IFA(P)=0THENQ$="I CAN'T DO IT. I HAVE NONE LEFT.\" 675 GOSUB1500 680 RETURN 700 R1=P:R2=P:R3=P 705 M1$=M$(6):M2$=M$(8):M3$=M$(8) 710 GOSUB900 712 II=B(P)-A(P) 715 FORI=IITOII+Z-1 720 : POKELN,PY(I):POKECN,PX(I):PRINT"[145]"B$(6) 725 : NEXTI 726 POKEVL,15:POKEFS,17 727 FORJJ=255TO30STEP-1:POKEGS,JJ:NEXTJJ:POKEFS,16:POKEVL,0 730 FORI=1TOZ 735 : GOSUB950 740 : NEXTI 788 RETURN 800 POKEVL,0:POKEKB,0:QU$=Q$:GOSUB1500 805 T=TI+800 810 M1$=M$(RND(1)*16) 815 M2$=M$(RND(1)*16) 820 M3$=M$(RND(1)*16) 825 R1=R(RND(1)*RR) 830 R2=R(RND(1)*RR):IFR2=R1GOTO830 835 R3=R(RND(1)*RR):IFR3=R2ORR3=R1GOTO835 840 SL=INT(25*RND(1)+1) 845 GOSUB900 850 GETA$:IFA$<>""THENPRINTCL$:RETURN 855 IFTI>TTHEN Q$=CM$(RND(1)*6)+"\ "+QU$:GOSUB1500:GOTO805 860 GOTO810 900 FORC=SL TO1STEP-1 910 : POKELN,PY(R1):POKECN,PX(R1):PRINT"[145]"B$(ASC(RIGHT$(M1$,C))-SF) 920 : POKELN,PY(R2):POKECN,PX(R2):PRINT"[145]"B$(ASC(RIGHT$(M2$,C))-SF) 930 : POKELN,PY(R3):POKECN,PX(R3):PRINT"[145]"B$(ASC(RIGHT$(M3$,C))-SF) 940 : NEXTC 945 RETURN 950 POKELN,PY(R1):POKECN,PX(R1):PRINT"[145]"; 953 POKEVL,15:POKEFS,17 954 FORJJ=20TO140STEP7:POKEGS,JJ:NEXTJJ:POKEFS,0:POKEVL,0 955 SP=PX(R1):EP=PX(B(P)-A(P))-5 959 SP=PX(R1):EP=PX(B(P)-A(P))-5 960 FORJ=SPTOEPSTEP2:PRINT"[150] -= [146][157][157][157]";:FORKK=1TO20:NEXTKK,J:PRINT"[153]"; 965 IFINT((EP-SP)/2)*2=EP-SPTHENPRINT"[157]"; 967 POKEVL,15:POKEFS,129:POKEGS,20 970 PRINT"[145]"B$(18) 971 FORKK=1TO100:NEXT:POKEFS,128:POKEVL,0 974 RR=RR-1:A(P)=A(P)-1 976 A=3 977 ONP+1GOTO990,985,980 980 A=A+A(1) 985 A=A+A(0) 990 FORJ=ATO16 991 : R(J)=R(J+1) 992 : NEXTJ 998 RETURN 1000 POKELN,PY(N):POKECN,PX(N):PRINT"[145]"B$(1+7*RND(1)); 1005 IFN>2THENPRINT"[154]"; 1010 POKELN,PY(N):POKECN,PX(N):PRINT"[145]"B$(0); 1015 PRINT"[153]"; 1020 POKELN,PY(N):POKECN,PX(N):PRINT"[145]"B$(9+5*RND(1)); 1030 POKELN,PY(N):POKECN,PX(N):PRINT"[145]"B$(14+4*RND(1)); 1040 RETURN 1500 PRINTCL$ 1505 II=0:GOSUB1600 1510 FORI=1TOLEN(Q$) 1515 : CH$=MID$(Q$,I,1) 1517 N=N+1 1520 : IFCH$=" "THENGOSUB1600 1525 : IFCH$="\"THENII=I:FORJ=1TO600:NEXTJ:PRINTCL$:GOTO1550 1530 : POKELN,1:POKECN,I-II:PRINT"[145][157]"CH$;"[153]" 1550 : NEXTI 1560 RETURN 1600 POKELN,PY(TR):POKECN,PX(TR):PRINT"[145]"B$(1); 1610 PRINT"[157][157][157][161][157]";:GOSUB1700 1615 PRINT"[188][157]";:GOSUB1700 1620 PRINT" [157]";:GOSUB1700 1625 PRINT"[188]":GOSUB1700 1630 N=0 1650 RETURN 1700 POKEVL,15:POKEFS,17 1705 FORJJ=1TO3*RND(1):POKEGS,20+15*(3-TR+2*RND(1)):FORKK=1TO5:NEXTKK,JJ 1710 POKEFS,16:RETURN 2000 FOR N=0TO2 2010 : GOSUB1000 2020 : PRINT"[145][145][157][157][157]*[157]"CHR$(N+65) 2030 : NEXTN:RETURN 5030 DATA" [157] [145][172][146][157][161][157][157][161][161][157][157][161][161][157][157][157][188][190][162][146][157][157][157][145][145][145][145][145][145][145]" 5035 DATA" [161][161][157][157][157][190][187][187][146][187][157][157][157][157][188][188][172][146] " 5040 DATA" [187][187][157][157][157][161][191][190][146] [157][157][157][157][162] [172][146][190]" 5045 DATA" [187][187][157][157][157][190] [146][187][157][157][157][157][161][191][190][146] " 5050 DATA" [161][161][157][157][157][161][172][172][146] [157][157][157][157][146][188] [191][146] " 5055 DATA" [161][157][157][157][161] [146][190] [157][157][157][157][188] [172][146] " 5060 DATA"[161][161][146] [157][157][157][188][172] [146] [157][157][157][157][188][190][172][146] " 5065 DATA" [161] [157][157][157][157] [187] [146] [157][157][157][157][188] [172][146] " 5070 DATA" [146]" 5075 DATA"[191][157][157][146][188][187][157][157] [188]" 5080 DATA"[191][157][157][146] [161][157][157] [188]" 5085 DATA"[191][157][157][146] [161][157][157] [190]" 5090 DATA"[191][157][157][146] [161][157][157][188] " 5100 DATA"[161][157][161][157][157][146] [157] [190]" 5105 DATA"[187][157][191][157][157][172][146] " 5110 DATA"[187][157][161][157][157][172][146] " 5115 DATA"[187][157][161][157][157][161][190]" 5120 DATA"[187][157][161][157][157][161][188]" 5230 DATA0,2,3,10,0,18,5,2,10,2,15,2,20,2,25,2,30,2,35,2,13,10,18,10,23,10,28 5240 DATA10,33,10,21,18,26,18,31,18 5330 DATA AHDEEDABACABACABACAADHDAB 5335 DATA AHDAFADAFADEDHDAHAFFHFFAA 5340 DATA AHANCAAABKPLQAKPINHACCAFG 5345 DATA JOKPLQKPJOKPLQKPJOINFJHFM 5350 DATA FGNKLJLJLJLJLFHFFADEQNJNID 5355 DATA AHAFADAFAHADFDFDFDHDAFGKN 5360 DATA AHBBBAHADEEEDABACABACADEI 5365 DATA ABBBAHADEEEDAFADAFADAFAHA 5370 DATA OJJJPPPPQPQPKKKKKKKKKKKKK 5137 DATA AAAAAAAAHABBBAAACCAHAAAHA 5380 DATA AAAAAAAAIIIIIJKLLLIIIIIII 5385 DATA AAAAAAAANIIIIOPQQQNNNNNNN 5390 DATA AHABADACAFABADACFBDCFBDHD 5395 DATA ADEDADEDADEDHAFGFAFGFAFGF 5400 DATA BDBDBDBDBACFMNCACACACAHCA 5405 DATA AFGGNQPQPQFAHDEPQNDAFGLIG 5510 DATACOME ON.,WE HAVEN'T GOT ALL DAY! 5520 DATAWE HAVE BETTER THINGS TO DO. 5530 DATAJUST ANSWER THE QUESTION.,IT ISN'T THAT DIFFICULT! 5540 DATATHERE IS A LIMIT TO OUR PATIENCE!